/*
 * Copyright (c) 2016 Lenovo Group
 * All Rights Reserved.
 * 
 * Project Name:lmrp-api
 * Create Time: 2016年4月13日 下午3:08:59
 */
package com.lenovo.lmrp.api.model.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Transient;

@Entity
@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
public abstract class ATicketStatisticPO {
    @Id
    @Column
    private int id;
    
    @Column
    private String province;
    
    @Column
    private String city;
    
    @Column
    private Date sumTime;
    
    @Column
    private int ticketNum;
    
    @Transient
    private double longitude;
    
    @Transient
    private double latitude;
    
    public int getId() {
        return id;
    }
    
    public String getProvince() {
        return province;
    }
    
    public String getCity() {
        return city;
    }
    
    public int getTicketNum() {
        return ticketNum;
    }

    protected void setId(int id) {
        this.id = id;
    }

    protected void setProvince(String province) {
        this.province = province;
    }

    protected void setCity(String city) {
        this.city = city;
    }

    protected void setTicketNum(int ticketNum) {
        this.ticketNum = ticketNum;
    }

    public Date getSumTime() {
        return sumTime;
    }

    protected void setSumTime(Date sumTime) {
        this.sumTime = sumTime;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
    
    
}
